package common;

import java.awt.Font;
import java.awt.font.FontRenderContext;
import java.util.Observable;
import java.util.Observer;

import model.DrawObject;

public class Utils
{
	public final static int MIN_DIST = 5;
	public final static int MIN_DIST_SQ = MIN_DIST * MIN_DIST; // the min selectable distance squared
	public final static String IMG_EXT = ".txt";
	
	public static Font getFont(DrawObject obj)
	{
		return new Font( "Tahoma", Font.PLAIN, obj.getHeight() );
	}
	
	
}
